import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from "./store";



import VueMarkdownEditor from '@kangc/v-md-editor';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js';
import '@kangc/v-md-editor/lib/theme/style/vuepress.css';

/*emoji*/
import createEmojiPlugin from '@kangc/v-md-editor/lib/plugins/emoji/index';
import '@kangc/v-md-editor/lib/plugins/emoji/emoji.css';

import 'prismjs/components/prism-json';
import 'prismjs/components/prism-java';
import 'prismjs/components/prism-javascript';


// import prismjs from 'assets/css/prism/prism'
// import prismCss from 'assets/css/prism/prism.css'



VueMarkdownEditor.use(vuepressTheme);
VueMarkdownEditor.use(createEmojiPlugin());



const app = createApp(App);


app.use(store).use(router).use(VueMarkdownEditor).mount('#app');

